import Vue from 'vue'
import Router from 'vue-router'

import Company from '@/components/Company'
import Value from '@/components/Value'
import New from '@/components/New'
import Work from '@/components/Work'
import Economy from '@/components/Economy'
Vue.use(Router)
export default new Router({
	linkActiveClass: 'active',
	routes: [{
		path: '/',
		name: '/',
		component: Company
	}, {
		path: '/company/:pathindex',
		name: 'company',
		component: Company
	}, {
		path: '/value/:pathindex',
		name: 'value',
		component: Value
	}, {
		path: '/new/:pathindex',
		name: 'new',
		component: New
	}, {
		path: '/work/:pathindex',
		name: 'work',
		component: Work
	}, {
		path: '/economy/:pathindex',
		name: 'Economy',
		component: Economy
	}]
})
